package net.maku.im.service;

import net.maku.framework.common.utils.PageResult;
import net.maku.framework.mybatis.service.BaseService;
import net.maku.im.dto.ImSensitiveWordEnabledDTO;
import net.maku.im.vo.ImSensitiveWordVO;
import net.maku.im.dto.ImSensitiveWordQueryDTO;
import net.maku.im.entity.ImSensitiveWordEntity;

import java.util.List;

/**
 * 敏感词
 *
 * @author Blue 
 * @since 1.0.0 2024-07-20
 */
public interface ImSensitiveWordService extends BaseService<ImSensitiveWordEntity> {

    PageResult<ImSensitiveWordVO> page(ImSensitiveWordQueryDTO query);

    ImSensitiveWordVO info(Long id);

    void save(ImSensitiveWordVO vo);

    void update(ImSensitiveWordVO vo);

    void delete(List<Long> idList);

    void switchEnabled(ImSensitiveWordEnabledDTO dto);
}